﻿
 
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		
		<title>jb-aptech毕业设计项目</TITLE>
<meta name="renderer" content="ie-comp">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../../css/style.css" rel="stylesheet" type="text/css">
		<script src="../../script/common.js"></script>
		<script src="../../script/validate.js"></script>
		<link rel="stylesheet" type="text/css" href="ExtJS/resources/css/ext-all.css">
<script type="text/javascript" src="ExtJS/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ExtJS/ext-all.js"></script>
	</head>
	<script type="text/javascript">
		
		function mySearch(){
			var arrName=new Array();
				arrName[0]="roleName";
				checkWay(arrName);
				document.sysRoleForm.submit();
		}
	
	</script>
	<body>
		<div class="page_title">
			权限管理 > 用户管理 > 系统角色管理
		</div>
		<form name="sysRoleForm" method="post" action="/CRM/sysRole.do">
			<input type="hidden" name="method" value="roleForward">
			<div class="button_bar">
				<button class="common_button" onclick="help();">
					帮助
				</button>
				<button class="common_button"
					onclick="to('sysRole.do?method=addRole');">
					新建
				</button>
				<button class="common_button" onclick="mySearch();">
					查询
				</button>
			</div>
			<table class="query_form_table">
				<tr>
					<th>
						角色名
					</th>
					<td>
						<input type="text" name="sysRole.roleName" size="20" value="" id="roleName">
					</td>
					<th>角色描述</th>
					<td>
						<input type="text" name="sysRole.roleDesc" size="20" value="">
					</td>
					<th>
						是否禁用
					</th>
					<td>
						<select name="sysRole.roleFlag"><option value="-1">全部</option>
							<option value="1">正常</option>
							<option value="2">禁用</option></select>
					</td>
				</tr>
			</table>
			<br />
			<table class="data_list_table">
				<tr>
					<th>
						编号
					</th>
					<th>
						角色名
					</th>
					<th>
						角色描述
					</th>
					<th>
						状态
					</th>
					<th>
						操作
					</th>
				</tr>
				
					<tr>
						<td class="list_data_text">
							1
						</td>
						<td class="list_data_text">
							管理员
						</td>
						<td>
							所有拥有权限
						</td>
						<td class="list_data_text">
							
	   							正常
	   						
							
						</td>
						<td class="list_data_op">
						
							<img onclick="to('sysRole.do?method=toEditSysRole&roleId=1');"
								title="编辑" src="images/bt_edit.gif" class="op_button" />
							<img onclick="to('sysRole.do?method=toDispatchRight&roleId=1');" 
							    title="分配权限" src="images/bt_linkman.gif" class="op_button" />
						
							<img onclick="to('sysRole.do?method=toDetailSysRole&roleId=1');"
								title="查看" src="images/bt_deal.gif" class="op_button" />
						
							<img
								onclick="mydel('sysRole.do?method=toDeleteSysRole&roleId=1');"
								title="删除" src="images/bt_del.gif" class="op_button" />
						
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							3
						</td>
						<td class="list_data_text">
							销售主管
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   							正常
	   						
							
						</td>
						<td class="list_data_op">
						
							<img onclick="to('sysRole.do?method=toEditSysRole&roleId=3');"
								title="编辑" src="images/bt_edit.gif" class="op_button" />
							<img onclick="to('sysRole.do?method=toDispatchRight&roleId=3');" 
							    title="分配权限" src="images/bt_linkman.gif" class="op_button" />
						
							<img onclick="to('sysRole.do?method=toDetailSysRole&roleId=3');"
								title="查看" src="images/bt_deal.gif" class="op_button" />
						
							<img
								onclick="mydel('sysRole.do?method=toDeleteSysRole&roleId=3');"
								title="删除" src="images/bt_del.gif" class="op_button" />
						
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							4
						</td>
						<td class="list_data_text">
							客户经理
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   							正常
	   						
							
						</td>
						<td class="list_data_op">
						
							<img onclick="to('sysRole.do?method=toEditSysRole&roleId=4');"
								title="编辑" src="images/bt_edit.gif" class="op_button" />
							<img onclick="to('sysRole.do?method=toDispatchRight&roleId=4');" 
							    title="分配权限" src="images/bt_linkman.gif" class="op_button" />
						
							<img onclick="to('sysRole.do?method=toDetailSysRole&roleId=4');"
								title="查看" src="images/bt_deal.gif" class="op_button" />
						
							<img
								onclick="mydel('sysRole.do?method=toDeleteSysRole&roleId=4');"
								title="删除" src="images/bt_del.gif" class="op_button" />
						
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							5
						</td>
						<td class="list_data_text">
							高管
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   							正常
	   						
							
						</td>
						<td class="list_data_op">
						
							<img onclick="to('sysRole.do?method=toEditSysRole&roleId=5');"
								title="编辑" src="images/bt_edit.gif" class="op_button" />
							<img onclick="to('sysRole.do?method=toDispatchRight&roleId=5');" 
							    title="分配权限" src="images/bt_linkman.gif" class="op_button" />
						
							<img onclick="to('sysRole.do?method=toDetailSysRole&roleId=5');"
								title="查看" src="images/bt_deal.gif" class="op_button" />
						
							<img
								onclick="mydel('sysRole.do?method=toDeleteSysRole&roleId=5');"
								title="删除" src="images/bt_del.gif" class="op_button" />
						
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							9
						</td>
						<td class="list_data_text">
							销售员
						</td>
						<td>
							销售产品人员
						</td>
						<td class="list_data_text">
							
	   							正常
	   						
							
						</td>
						<td class="list_data_op">
						
							<img onclick="to('sysRole.do?method=toEditSysRole&roleId=9');"
								title="编辑" src="images/bt_edit.gif" class="op_button" />
							<img onclick="to('sysRole.do?method=toDispatchRight&roleId=9');" 
							    title="分配权限" src="images/bt_linkman.gif" class="op_button" />
						
							<img onclick="to('sysRole.do?method=toDetailSysRole&roleId=9');"
								title="查看" src="images/bt_deal.gif" class="op_button" />
						
							<img
								onclick="mydel('sysRole.do?method=toDeleteSysRole&roleId=9');"
								title="删除" src="images/bt_del.gif" class="op_button" />
						
						</td>
					</tr>
				
				<tr>
					<th colspan="7" class="pager">
<div>
	每页5条记录&nbsp;共6条记录&nbsp;&nbsp;第1页&nbsp;&nbsp;共2页&nbsp;&nbsp;<a disabled>首页</a><a  disabled>上一页</a><a  href="javaScript:window.location='?curpage=2&pageNum=5&method=roleForward'">下一页</a><a href="javaScript:window.location='?curpage=2&pageNum=5&method=roleForward'">尾页</a>&nbsp;&nbsp;&nbsp;&nbsp;转到：<select id='_gotoPageCount' onchange="window.location='?curpage='+this.value+'&pageNum=5&method=roleForward'"><option  selected  value=1 >第1页</option>
<option  value=2 >第2页</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<select onchange="window.location='?pageNum='+this.value+'&method=roleForward'">
<option  value=6 >每页6条记录</option>
<option  value=12 >每页12条记录</option>
<option  value=18 >每页18条记录</option>
<option  value=24 >每页24条记录</option>
<option  value=30 >每页30条记录</option>
</select>
</div>
					</th>
				</tr>
			</table>
		</form>
	</body>
</html>

